package com.xzy.domain;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class Order {
    /**
     * 订单id
     */
    private String order_id;

    /**
     * 创建时间
     */
    private Date create_time;

    /**
     * 总价
     */
    private BigDecimal price;

    /**
     * 订单状态  0未发货 1已发货 2已签收
     */
    private Integer status;

    /**
     * 订单所属用户id
     */
    private Integer user_id;

    public Order() {
    }

    public Order(String order_id, Date create_time, BigDecimal price, Integer status, Integer user_id) {
        this.order_id = order_id;
        this.create_time = create_time;
        this.price = price;
        this.status = status;
        this.user_id = user_id;
    }
}
